<template>
  <div>
    我的页面 {{name}}
  </div>
</template>

<script>
export default {
  name: 'MyIndex',
  data() {
    return {
      name: ''
    }
  },
  mounted() {
    this.name = this.$route.query.name
    console.log(this.$route.query.name)
  }
}
</script>

<style>

</style>